package com.person.news.model;

import java.util.Date;


/**
 * News entity. @author MyEclipse Persistence Tools
 */

public class News  implements java.io.Serializable {


    // Fields    

     private String newsId;
     private String funcId;
     private String newsTitle;
     private String newsTitleEn;
     private String newsContent;
     private String newsContentEn;
     private Integer newsClick;
     private Integer newsRevert;
     private String newsType;
     private String newsTypeName;
     private String newsFlag;
     private String newsTop;
     private String userId;
     private Date userDate;


    // Constructors

    /** default constructor */
    public News() {
    }

	/** minimal constructor */
    public News(String funcId, String newsTitle, String newsType, String newsFlag, String newsTop, Integer newsNum, String userId, Date userDate) {
        this.funcId = funcId;
        this.newsTitle = newsTitle;
        this.newsType = newsType;
        this.newsFlag = newsFlag;
        this.newsTop = newsTop;
        this.userId = userId;
        this.userDate = userDate;
    }
    
    /** full constructor */
    public News(String funcId, String newsTitle, String newsTitleEn, String newsContent, String newsContentEn, Integer newsClick, Integer newsRevert, String newsType, String newsTypeName, String newsFlag, String newsTop, Integer newsNum, String userId, Date userDate) {
        this.funcId = funcId;
        this.newsTitle = newsTitle;
        this.newsTitleEn = newsTitleEn;
        this.newsContent = newsContent;
        this.newsContentEn = newsContentEn;
        this.newsClick = newsClick;
        this.newsRevert = newsRevert;
        this.newsType = newsType;
        this.newsTypeName = newsTypeName;
        this.newsFlag = newsFlag;
        this.newsTop = newsTop;
        this.userId = userId;
        this.userDate = userDate;
    }

   
    // Property accessors

    public String getNewsId() {
        return this.newsId;
    }
    
    public void setNewsId(String newsId) {
        this.newsId = newsId;
    }

    public String getFuncId() {
        return this.funcId;
    }
    
    public void setFuncId(String funcId) {
        this.funcId = funcId;
    }

    public String getNewsTitle() {
        return this.newsTitle;
    }
    
    public void setNewsTitle(String newsTitle) {
        this.newsTitle = newsTitle;
    }

    public String getNewsTitleEn() {
        return this.newsTitleEn;
    }
    
    public void setNewsTitleEn(String newsTitleEn) {
        this.newsTitleEn = newsTitleEn;
    }

    public String getNewsContent() {
        return this.newsContent;
    }
    
    public void setNewsContent(String newsContent) {
        this.newsContent = newsContent;
    }

    public String getNewsContentEn() {
        return this.newsContentEn;
    }
    
    public void setNewsContentEn(String newsContentEn) {
        this.newsContentEn = newsContentEn;
    }

    public Integer getNewsClick() {
        return this.newsClick;
    }
    
    public void setNewsClick(Integer newsClick) {
        this.newsClick = newsClick;
    }

    public Integer getNewsRevert() {
        return this.newsRevert;
    }
    
    public void setNewsRevert(Integer newsRevert) {
        this.newsRevert = newsRevert;
    }

    public String getNewsType() {
        return this.newsType;
    }
    
    public void setNewsType(String newsType) {
        this.newsType = newsType;
    }

    public String getNewsTypeName() {
        return this.newsTypeName;
    }
    
    public void setNewsTypeName(String newsTypeName) {
        this.newsTypeName = newsTypeName;
    }

    public String getNewsFlag() {
        return this.newsFlag;
    }
    
    public void setNewsFlag(String newsFlag) {
        this.newsFlag = newsFlag;
    }

    public String getNewsTop() {
        return this.newsTop;
    }
    
    public void setNewsTop(String newsTop) {
        this.newsTop = newsTop;
    }

    public String getUserId() {
        return this.userId;
    }
    
    public void setUserId(String userId) {
        this.userId = userId;
    }

    public Date getUserDate() {
        return this.userDate;
    }
    
    public void setUserDate(Date userDate) {
        this.userDate = userDate;
    }
   








}